package com.zenchn.dao;

import com.zenchn.generic.GenericDao;
import com.zenchn.model.TMiRegion;
import com.zenchn.model.TMiRegionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TMiRegionMapper extends GenericDao<TMiRegion,String,TMiRegionExample> {
    long countByExample(TMiRegionExample example);

    int deleteByExample(TMiRegionExample example);

    int deleteByPrimaryKey(String regionId);

    int insert(TMiRegion record);

    int insertSelective(TMiRegion record);

    List<TMiRegion> selectByExample(TMiRegionExample example);

    TMiRegion selectByPrimaryKey(String regionId);

    int updateByExampleSelective(@Param("record") TMiRegion record, @Param("example") TMiRegionExample example);

    int updateByExample(@Param("record") TMiRegion record, @Param("example") TMiRegionExample example);

    int updateByPrimaryKeySelective(TMiRegion record);

    int updateByPrimaryKey(TMiRegion record);
}